/************************************************/
/*    Auteur    : Yoann NICOD                   */
/*    Programme : Atomic Bomberman Origins      */
/*    Fichier   : main.cpp                      */
/*    Date      : 18/11/2012                    */
/************************************************/

#include <iostream>
#include <time.h>
#include "application.h"
#include "debug.h"

using namespace std;
/*
#include <SFML\Audio.hpp>

int main()
{
	SoundBuffer SB1, SB2;

	SB1.LoadFromFile("C:\\Users\\Metatron\\Dropbox\\Atomic Bomberman\\media\\Sons\\out\\ADD51C.wav");
	SB2.LoadFromFile("C:\\Users\\Metatron\\Dropbox\\Atomic Bomberman\\media\\Sons\\out\\ADD51A.wav");

	Sound S1, S2;
	S1.SetBuffer(SB1);
	S2.SetBuffer(SB2);

	S1.SetLoop(true);
	S1.Play();
	S2.Play();
	cout << "boucle.." << endl;
	for(int i = 0;;++i)
		if(i == 1000000000)
		{
			cout << "ici" << endl;
			S2.Play();
		}

	return 0;
}*/


int main()
{
	InitialiserLog();

	Log("Atomic Bomberman Origins", 1);
	Log("========================", 1);
	Log("Par Yoann Nicod, Romain Nicod, Gael Michelin\n", 1);
	
	Application MonApplication;

	Randomizer::SetSeed((unsigned int)time(NULL));
	MonApplication.Run();

	ArreterLog();
    return EXIT_SUCCESS;
}